package com.zju.searchEngine.service;

import java.util.List;

import com.zju.searchEngine.model.Index;

public interface IIndexService {
	
	public Index selectByKeyWord(String keyWord);
	
	public List<Index> selectByKeyWordLike(String keyWord);
	
	public Index selectById(Integer id);
	
	public int insert(Index index);
	
	public List<Index> selectAllIndex();
	
	public int updateById(Index index);

}
